import { Boolean, Code, Entity, PrimaryUuid, Uuid } from "@sker/core";

@Entity({ name: 'kd_shop_member_area' })
export class KdShopMemberArea {
    @PrimaryUuid()
    id: string;

    @Code({ comment: '行政区划码' })
    area_code: string;

    @Code({ comment: '街道区划码' })
    street_code: string;

    @Uuid({ comment: '跑腿员' })
    shop_member_id: string;

    @Uuid({ comment: '网点ID' })
    shop_id: string;

    @Uuid({ comment: '代理ID' })
    agent_id: string;

    @Boolean({ comment: '是否可用' })
    enabled: boolean;
}